package com.kaige.asktaoplugin60.config;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

@Data
@Component
@ApiModel(value = "游戏配置类")
@ConfigurationProperties(prefix = "game.server")
public class GameConfig {
    private String ip = "127.0.0.1";

    private Integer port = 8101;
    
    private Map<String, Integer> line;
}